package com.wwj.nativemodel;

import com.wwj.nativeInterface.INJServer;
import com.wwj.nativeInterface.INJServiceAccess;
import com.wwj.nativecode.NxServiceApiDemo;

public class NJServerModel implements INJServer {
	
	private int _handle;
	public NJServerModel(int handle){
		this._handle = handle;
	}

	@Override
	public INJServiceAccess CreateModelServiceAccess() {
		NxServiceApiDemo instance = new NxServiceApiDemo();
		return new NJServiceAccessModel(instance.NJS_CreateServiceAccessHandle(this._handle));
	    
	}

}
